package com.pay.beans;

import java.io.Serializable;

/**
 * @Description: 通用响应信息
 * @see: ReturnBean 此处填写需要参考的类
 * @version 2016年9月20日 下午2:22:27
 * @author meng.ren
 */
public class ReturnBean implements Serializable{

	/**
	 *
	 */
	private static final long serialVersionUID = -7613680856332152664L;


	public ReturnBean() {
		super();
	}

	/**
	 * 构造方法
	 * @param returnCode 返回码
	 * @param errorMsg 返回消息
	 */
	public ReturnBean(String code, String msg) {
		super();
		this.code = code;
		this.msg = msg;
	}

	/**
	 * 响应码
	 */
	private String code;

	/**
	 * 响应内容
	 */
	private String msg;

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("ReturnBean [code=");
		builder.append(code);
		builder.append(", msg=");
		builder.append(msg);
		builder.append("]");
		return builder.toString();
	}

}
